package com.mhys.hms.service.user.impl;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mhys.hms.entity.User;
import com.mhys.hms.mapper.TbStaffMapper;
import com.mhys.hms.service.user.UserInfo;

@Service
public class UserInfoImpl implements UserInfo{
	@Autowired
	private TbStaffMapper tbStaffMapper;
	/**
	 * 获取用户名对象
	 */
	public List<User> getUser(String name, String pwd) {
		return tbStaffMapper.getUser(name, pwd);
	}
	
}
